package com.demo.controllers;

import com.demo.service.TestService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
public class ThreadTestController {
    @Autowired
    TestService testService;
    @GetMapping("ap/test")
    public void testT(){
        testService.test();

    }
}
